solve system of equations by elimination